package com.app.widgets.photoview.sample;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.app.widgets.R;
import com.squareup.picasso.Picasso;
import com.zndroid.widget.ImageView.PhotoImageView;


public class PicassoSampleActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_simple);

        final PhotoImageView photoImageView = (PhotoImageView) findViewById(R.id.iv_photo);

        Picasso.with(this)
                .load(R.drawable.test)
                .into(photoImageView);
    }
}
